﻿@charset"utf-8";
@import"color";
@import"model";
$themeColor:$cyan;
html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    background-color: $themeColor;
    position: relative;
    font-size: 13px;
}
* {
    font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif!important;
}
.register{
    width: 100%;
    height: 100%;
    z-index: 10;
    padding-top: 5rem;
    background-image: url('/images/register.jpg');
    background-repeat: no-repeat;
    text-align: center;
    @include comic(.35);
    opacity: 0;
    transform: scale(0);
    position: fixed;
    top: 0;
    left: 0;
    color: $grayLight; 
    &.focus{
        opacity: 1;
        transform: scale(1);
    }
    input {
        display: block;
        width: 75%;
        margin: 0.8rem auto;
        padding: 0.4rem 0;
        text-indent: 1em;
        border: 0;
    }
    .choice {
        width: 100%;
        color: $white;
        margin-top: 30px;
        .item {
            display: inline-block;
            vertical-align: top;
            margin: 0 1rem;
        }
        button{
            display: block;
            width: 75%;
            border: 0;
            background-color: $themeColor;
            color: $white;
            height: 2rem;
            line-height: 2rem;
            margin: .8rem auto;
        }
    }
}
.loginbox {
    width: 100%;
    text-align: center;
    top: 10rem;
    position: absolute;
    @include comic(.35);
    &.focus{
        transform: scale(0);
        opacity: 0;
    }
    .textinfo {
        display: inline-block;
        vertical-align: middle;
        width: 50%;
        margin-right: 10%;
        input {
            width: 100%;
            margin: 0.4rem 0;
            padding: 0.4rem 0;
            text-indent: 1em;
            border: 0;
        }
    }
    .queding {
        position: relative;
        display: inline-block;
        vertical-align: middle;
        height: 2.5rem;
        width: 2.5rem;
        line-height: 2.5rem;
        .back {
            position: absolute;
            left: 1px;
            top: 1px;
            height: 100%;
            width: 100%;
            border-radius: 50%;
            animation: gogogo 3.5s infinite;
            -moz-animation: gogogo 3.5s infinite;
            /* Firefox */
            
            -webkit-animation: gogogo 3.5s infinite;
            /* Safari 和 Chrome */
            
            -o-animation: gogogo 3.5s infinite;
            /* Opera */
            
            // animation: gogogo 2s linear;
        }
    }
    .icon-queding {
        position: relative;
        color: $darkBlue;
        height: 100%;
        width: 100%;
        text-align: center;
        border-radius: 50%;
        border: 1px solid #fff;
        &:before {
            font-size: 20px;
        }
    }
    .choice {
        width: 100%;
        color: $white;
        margin-top: 30px;
        .item {
            display: inline-block;
            vertical-align: top;
            margin: 0 1rem;
        }
    }
}


// 确定按钮的动画
@-webkit-keyframes gogogo {
    0% {
        -webkit-transform: scale(0);
        background-color: $cyan;
    }
    50% {
        -webkit-transform: scale(1);
        background-color: $white;
    }
    100% {
        -webkit-transform: scale(0);
        background-color: $cyan;
    }
}
